<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('证券同步')" />
</head>
<body class="white-bg">
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
    <form class="form-horizontal m" id="form-sync">
        <div class="form-group">
            <label class="col-sm-3 control-label">证券节点：</label>
            <div class="col-sm-8">
                <div class="check-box" th:each="dict : ${@dict.getType('security_node')}">
                    <input type="checkbox"
                           th:name="nodes"
                           th:value="${dict.dictValue}"
                           th:id="${dict.dictCode}"
                           th:checked="${dict.default}"
                    />
                    <label th:for="${dict.dictCode}" th:text="${dict.dictLabel}"></label>
                </div>
            </div>
        </div>
    </form>
</div>
<th:block th:include="include :: footer" />
<script type="text/javascript">
    var prefix = ctx + "security";
    function submitHandler() {
        $.operate.save(prefix + "/syncList", $('#form-sync').serialize());
    }
</script>
</body>
</html>
